
// 2.登陆框
let Oul=document.querySelector("._login-1");
	let Odiv=document.querySelector("._login");
	let Oli=document.querySelector("._login-1 li");
	Odiv.onmousemove=function(evt){
		let e=evt ||event;
		Oul.style.display="block";
 e.stopPropagation?e.stopPropagation():e.cancelBubble = true;
}      
		for(let i=0;i<Oli.length;i++){
			Oli[i].onmouseover=function(){
				this.style.backgroundColor="#ccc";
				
			}
			Oli[i].onmouseout=function(){
				this.style.backgroundColor="#fff";
			}
			// Oli[i].onclick=function(){
			// 	Oul.style.display="none";
			// }
		
	}
   document.onclick=function(){
		Oul.style.display="none";
	}
	 
   // 点击登录框跳转登录页面
       Oul.onclick=function(){
   	location.href="register.login/4register/4register.html"
   }